//
//  DownloadCarObj.h
//  Honda
//
//  Created by Xiaolong Zhang on 13-5-14.
//  Copyright (c) 2013年 HeninHoo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetworkDefine.h"

@interface DownloadCarObj : NSObject

@property(nonatomic, retain) NSString* uuid;//任务的唯一标识
@property(nonatomic, retain) NSString* tempCarPath;//任务下载的临时存放文件夹路径,这个文件夹里存放所有与此次下载有关的东西，包括下载进度
@property(nonatomic, retain) NSString* tempFilePath;//任务下载的临时存放文件路径
@property(nonatomic, retain) NSString* tempInfoPath;//任务下载状态信息文件的临时存放路径，如下载进度等等
@property(nonatomic, retain) NSString* saveFilePath;//任务下载的保存文件路径
@property(nonatomic, retain) NSString* saveAutosPath;//任务下载的保存文件夹路径

@property(nonatomic, assign) DownLoadState state;//下载状态
@property(nonatomic, assign) CGFloat    progress;//下载进度

@property(nonatomic, retain) NSString* eTag;//HTTP协议中，被请求变量的实体值

@property(nonatomic, assign) DownloadObjectType objType;

//modify by xiaolong for add video resource download
//- (id)initWithIsCarInfo:(BOOL)isCarInfo;
- (id)initWithDownloadObjectType:(DownloadObjectType)downloadObjType;
//end modify

@end
